package org.pearl.validation.demo.lombok;

import lombok.*;
import lombok.experimental.Accessors;

/**
 * Created by TD on 2021/5/21
 */
// @Data
@Getter
@Setter
@Builder
//@AllArgsConstructor(access = AccessLevel.PUBLIC)
@ToString
//@NoArgsConstructor
//@RequiredArgsConstructor(staticName = "methodName")
@EqualsAndHashCode
@Value
@Accessors(chain = true)
public class Person {
    @With(AccessLevel.PUBLIC)
    Integer personId;
    String name;
    Integer age;
    String num;
}
